-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[services] Add cloudprofile.agent role to service accounts in terraform #13978
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple nits and a question. Let me know if you need anything to apply these changes. This is a purely additive change so I'd rather apply it before merging so we know it's correct.
infra/gcp-broad/main.tf
Outdated
@@ -507,7 +510,10 @@ resource "google_storage_bucket_iam_member" "testns_batch_bucket_admin" { | |||
module "ci_gsa_secret" { | |||
source = "./gsa" | |||
name = "ci" | |||
project = var.gcp_project | |||
project = var.gcp_project, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
project = var.gcp_project, | |
project = var.gcp_project |
infra/gcp/main.tf
Outdated
@@ -487,13 +490,19 @@ resource "google_storage_bucket_iam_member" "testns_batch_bucket_admin" { | |||
module "ci_gsa_secret" { | |||
source = "./gsa_k8s_secret" | |||
name = "ci" | |||
project = var.gcp_project | |||
project = var.gcp_project, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
project = var.gcp_project, | |
project = var.gcp_project |
infra/gcp/main.tf
Outdated
} | ||
|
||
module "testns_ci_gsa_secret" { | ||
source = "./gsa_k8s_secret" | ||
name = "testns-ci" | ||
project = var.gcp_project | ||
project = var.gcp_project, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
project = var.gcp_project, | |
project = var.gcp_project |
infra/gcp-broad/main.tf
Outdated
@@ -458,6 +458,7 @@ module "auth_gsa_secret" { | |||
iam_roles = [ | |||
"iam.serviceAccountAdmin", | |||
"iam.serviceAccountKeyAdmin", | |||
"cloudprofile.agent" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also needs to be on the test auth account, right?
I'm not sure how to apply it anymore. Can we do it together on zoom at some point this week? |
Sure thing! Maybe thursday afternoon at some point? Feel free to grab something on my calendar. |
No description provided.